	<h1><?php echo $this->title ?></h1>
	<?php echo !empty($errors) ? '<p>' . implode('<br />', $errors) . '</p>' : NULL ?>
	<form method="post" action="" enctype="multipart/form-data">
		<table class="t-data t-data-edit">
			<thead>
				<tr class="tr-titles">
					<td class="td-row-title">Параметры</td>
					<td>Значения</td>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>Группа</td>
					<td>
						<?php echo $data['group'] ?>
					</td>
				</tr>
				<tr>
					<td>Коды</td>
					<td>
						[photo]<?php echo $data['group'], '/', $data['fileId'] ?>[/photo]<br/>
						[xphoto]<?php echo $data['group'], '/', $data['fileId'] ?>[/xphoto]<br/>
					</td>
				</tr>
				<tr>
					<td>Исходник:</td>
					<td>
<?php if(!empty($data['source'])): ?>
						<a href="<?php echo $data['source'] ?>">Открыть</a>
<?php else: ?>
						Пусто!
<?php endif ?>
						<div class="l-right"><a href="<?php echo $this->name, 'delete/', $data['group'], '/', $data['fileId'] ?>/">Удалить файл</a></div>
					</td>
				</tr>
				<tr>
					<td>
						Иконка:
						<ul>
							<li><b>150x113</b></li>
						</ul>
					</td>
					<td>
<?php if(!empty($data['icon'])): ?>
						<a href="<?php echo $this->name, 'edit/', $data['group'], '/', $data['fileId'], '/cut-icon/' ?>" title="Изменить">
							<img src="<?php echo $data['icon'] ?>" alt="" /></a>
						</a>
<?php else: ?>
						Пусто! <a href="<?php echo $this->name, 'edit/', $data['group'], '/', $data['fileId'], '/cut-icon/' ?>">Создать</a>
<?php endif ?>
						<br /><br />
						<input type="file" name="icon_upload" value="" />
					</td>
				</tr>
				<tr>
					<td>Изображение:</td>
					<td>
<?php if(!empty($data['url'])): ?>
						<a href="<?php echo $this->name, 'edit/', $data['group'], '/', $data['fileId'], '/cut-image/' ?>" title="Изменить">
							<img src="<?php echo $data['url'] ?>" alt="" /></a>
						</a>
<?php else: ?>
						Пусто <a href="<?php echo $this->name, 'edit/', $data['group'], '/', $data['fileId'], '/cut-image/' ?>">Создать</a>
<?php endif ?>
						<br /><br />
						<input type="file" name="image_upload" value="" />
					</td>
				</tr>
			</tbody>
			<tfoot>
				<tr>
					<td class="td-row-title">
						<a href="<?php echo $this->name ?>/">&lt;&lt;&lt; Назад</a>
					</td>
					<td>
						<input type="submit" class="i-submit" value="Сохранить" />
					</td>
				</tr>
			</tfoot>
		</table>
	</form>